package org.example.Test;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class Test1 {
    public static void main(String[] args) {
//        for (int i = 0; i < 10; i++) {
//            test2(i);
//        }
        LocalDateTime localDateTime = LocalDateTime.now();
        System.out.println(localDateTime);

        LocalDate localDate = LocalDate.now();
        System.out.println(localDate);

    }
    private static void test2(Integer i){
        for (int j = 0; j < 10; j++) {
            String id = getID(i*9,j);
            System.out.println(id+"\n");
        }
    }

    private static String getID(int i, int j) {
        String b ="";
        Long c = Long.valueOf(i+j);
        for (int k = 0; k < 14 - String.valueOf(c).length(); k++) {
            b+="0";
        }
        b+=c;
        return b;
    }
}
